Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

token[-2022]: Change target_arch to target_os#3493

Merged
joncinque merged 1 commit intosolana-labs:masterfrom
joncinque:targetos
Aug 18, 2022
Merged

token[-2022]: Change target_arch to target_os#3493
joncinque merged 1 commit intosolana-labs:masterfrom
joncinque:targetos

Conversation

@joncinque
Copy link
Copy Markdown
Contributor

Problem

During the upgrade to cargo build-sbf / test-sbf in #3492, we had to use the --arch flag since some parts of the code still rely on it.

Solution

Make token consistent with the rest of the codebase, and use target_os = "solana" instead of target_arch = "bpf"

@joncinque joncinque merged commit 6e125f8 into solana-labs:master Aug 18, 2022
@joncinque joncinque deleted the targetos branch August 18, 2022 11:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant